package com.bs.mapper;


import com.bs.bean.News;
import java.util.List;

public interface NewsMapper {

    List<News> getAllNews();

    News getNewsById(Integer id);

    List<News> selectNewsByTitle(String title);

    void updateNews(News news);

    void deleteNewsById(Integer id);

    void addNews(News news);
}
